home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Views / VerticalSpacer.h < prev    next >
Text File  |  1997-06-28  |  488b  |  28 lines

  1. // VerticalSpacer.h
  2.  
  3. #ifndef VerticalSpacer_h
  4. #define VerticalSpacer_h
  5.  
  6. #ifndef SolidView_h
  7. #include "SolidView.h"
  8. #endif
  9.  
  10. class VerticalSpacer: public SolidView
  11.   {
  12.     private:
  13.         const uint16 height;
  14.     
  15.     public:
  16.         VerticalSpacer( uint16 theHeight,
  17.                              const RGBColor& color = NamedColors::white )
  18.           : SolidView( color ),
  19.              height( theHeight )
  20.           {}
  21.         
  22.         virtual uint16 MinimumHeight() const;
  23.         virtual uint16 MaximumHeight() const;
  24.         virtual uint16 BestWidth() const;
  25.   };
  26.  
  27. #endif
  28.